package com.musictalk.message.model;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */



import java.util.ArrayList;

/**
 *
 * @author AIDEN
 */
public class LoginUser extends Message{

    private User loginUser;
    private ArrayList<User> friends;

    public LoginUser() {
        this.setMsgType(Message.MSG_SUCCESS);
    }

    public LoginUser(User loginUser) {
        this.setMsgType(Message.MSG_SUCCESS);
        this.loginUser = loginUser;
    }

    public void setUserName(String name){
        this.loginUser.setName(name);
    }

    public ArrayList<User> getFriends() {
        return friends;
    }

    public void setFriends(ArrayList<User> friends) {
        this.friends = friends;
    }

    public User getLoginUser() {
        return loginUser;
    }

    public void setLoginUser(User loginUser) {
        this.loginUser = loginUser;
    }




}